<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center auditResultNotification_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub auditResultNotification_fd0_0'>
					<view class='flex flex-wrap align-center auditResultNotification_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  auditResultNotification_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='auditResultNotification_fd0_0_c1_c0' v-if=" id=='1'">审核结果通知</text><text
							class='auditResultNotification_fd0_0_c1_c0' v-if=" id=='2'">整改通知</text>
					</view>
					<view class='flex flex-wrap align-center justify-end auditResultNotification_fd0_0_c0'>
					</view>
				</view>
			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout auditResultNotification_flex_1">
				<view class='flex flex-direction flex-wrap align-stretch auditResultNotification_fd1_0' @click="clickToFire">
					<view class='flex flex-wrap align-center auditResultNotification_fd1_0_c0'>
						<image class='auditResultNotification_fd1_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"82.png"'>
						</image>
						<view class='flex flex-direction flex-wrap align-start'>
							<text class='auditResultNotification_fd1_0_c0_c1_c0'>消防整改通知</text>
							<view class='flex flex-wrap align-center'>
								<text class='auditResultNotification_fd1_0_c0_c1_c1_c0'>2020.12.25 14：25</text>
							</view>
						</view>
					</view>
					<text class='auditResultNotification_fd1_0_c1'>您的房源整改未达标，请及时整改</text>
					<text class='auditResultNotification_fd1_0_c2'>查看详情并整改</text>
				</view>
				<view class='flex flex-direction flex-wrap align-stretch auditResultNotification_fd1_0' @click="clickToHygiene">
					<view class='flex flex-wrap align-center auditResultNotification_fd1_0_c0'>
						<image class='auditResultNotification_fd1_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"82.png"'>
						</image>
						<view class='flex flex-direction flex-wrap align-start'>
							<text class='auditResultNotification_fd1_0_c0_c1_c0'>卫生整改通知</text>
							<view class='flex flex-wrap align-center'>
								<text class='auditResultNotification_fd1_0_c0_c1_c1_c0'>2020.12.25 14：25</text>
							</view>
						</view>
					</view>
					<text class='auditResultNotification_fd1_0_c1'>您的房源存在消防隐患，请及时整改</text>
					<text class='auditResultNotification_fd1_0_c2'>查看详情并整改</text>
				</view>
			</view>
			<!---flex布局flex布局结束-->
		</view>
	</view>
</template>
<script>
	export default {
		components: {},
		data() {
			return {
				"id": ""
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
		},
		watch: {},
		onLoad(options) {
			let {
				id
			} = options
			if (id !== undefined) this.id = id
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//消防整改跳转
			clickToFire(){
				if(this.id == 2){
					uni.navigateTo({
						url:'/pages/xtxx/fireRectificationNotice/fireRectificationNotice'
					})
				}
			},
			// 卫生整改跳转
			clickToHygiene(){
				if(this.id == 2){
					uni.navigateTo({
						url:'/pages/xtxx/hygieneRectificationNotice/hygieneRectificationNotice'
					})
				}
			},
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto;
	}

	.auditResultNotification_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.auditResultNotification_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 36rpx;
	}

	.auditResultNotification_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.auditResultNotification_fd0_0_c0 {
		width: 120rpx;
	}

	.auditResultNotification_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.auditResultNotification_flex_1 {
		padding: 24rpx 24rpx 0rpx 24rpx;
	}

	.auditResultNotification_fd1_0_c2 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 48rpx;
	}

	.auditResultNotification_fd1_0_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 48rpx;
		margin: 0rpx 0rpx 16rpx 0rpx;
	}

	.auditResultNotification_fd1_0_c0_c1_c1_c0 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		margin: 12rpx 0rpx 0rpx 0rpx;
	}

	.auditResultNotification_fd1_0_c0_c1_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
	}

	.auditResultNotification_fd1_0_c0_c0 {
		width: 88rpx;
		height: 88rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 24rpx 0rpx 0rpx;
	}

	.auditResultNotification_fd1_0_c0 {
		margin: 0rpx 0rpx 24rpx 0rpx;
	}

	.auditResultNotification_fd1_0 {
		background: var(--benbenbgColor1);
		margin: 0rpx 0rpx 24rpx 0rpx;
		padding: 32rpx 24rpx 32rpx 24rpx;
		border-radius: 16rpx;
		background-size: 100% auto;
	}
</style>